                        ______   _______           ______   _        _______ 
                       (  __  \ (  ___  )|\     /|(  ___ \ ( \      (  ____ \
                       | (  \  )| (   ) || )   ( || (   ) )| (      | (    \/
                       | |   ) || |   | || |   | || (__/ / | |      | (__    
                       | |   | || |   | || |   | ||  __ (  | |      |  __)   
                       | |   ) || |   | || |   | || (  \ \ | |      | (      
                       | (__/  )| (___) || (___) || )___) )| (____/\| (____/\
                       (______/ (_______)(_______)|/ \___/ (_______/(_______/
                                                                             
          _________          _______         _______ _________ _______  _______  _______ 
          \__   __/|\     /|(  ___  )       (  ____ )\__   __/(  ____ \(  ____ \(  ____ \
             ) (   | )   ( || (   ) |       | (    )|   ) (   | (    \/| (    \/| (    \/
             | |   | | _ | || |   | | _____ | (____)|   | |   | (__    | |      | (__    
             | |   | |( )| || |   | |(_____)|  _____)   | |   |  __)   | |      |  __)   
             | |   | || || || |   | |       | (         | |   | (      | |      | (      
             | |   | () () || (___) |       | )      ___) (___| (____/\| (____/\| (____/\
             )_(   (_______)(_______)       |/       \_______/(_______/(_______/(_______/


README

1. The codes implement some distributions proposed in the paper:

Bayesian modelling of skewness and kurtosis with two-piece scale and shape transformations (2013)
F. J. Rubio and M. F. J. Steel
CRiSM working paper 13-10

2. All the codes are written in R.

3. Each code contains functions that return the PDF, CDF, Quantile function, and Random number generation of some Double two-piece models, as well as a small example.

4. The specific model implemented in each code is described below:

'dtpep.R' :  Double two-piece Exponential power distribution.

'dtpJSU.R':  Double two-piece Johnson-SU distribution.

'dtpsas.R':  Double two-piece sinh-arcsinh distribution.

'dtpst.R' :  Double two-piece stable distribution.

'dtpt.R'  :  Double two-piece Student-t distribution.

5. Some codes require additional libraries which are specified on the section "# Required packages".

6. Feel free to use, modify and share these codes as you wish, as long as you cite the source.